package com.wyl.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wyl.auth.entity.UserLoginLog;
import com.wyl.auth.req.UserLoginLogReq;
import com.wyl.auth.vo.UserLoginLogVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @Description 用户登录日志表
* @Author WuYiLong
* @Date 2025-04-13
*/
@Mapper
public interface UserLoginLogMapper extends BaseMapper<UserLoginLog> {

    /**
     * 分页
     * @param page
     * @param req
     * @return
     */
    List<UserLoginLogVo> selectPage(@Param("page") Page page, @Param("req") UserLoginLogReq req);
}
